Run precompiled SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
===============================================================================

1 - Install the pre-compiled MacCAN driver 0.11.2:
$ cp libPCUSB.0.11.2.dylib /usr/local/lib/libPCUSB.dylib

2 - Double click on SavvyCAN.app

Compile SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
=======================================================================

0 - Pre-requesite: QT 5.15.5 must be installed using HowmeBrew

1 - Download and install the MacCAN driver 0.11.2
$ wget https://github.com/mac-can/PCBUSB-Library/releases/download/v0.11.2/macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ tar xvzf macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ cd macOS_Library_for_PCANUSB_v0.11.2
$ make install

2 - Download and compile QTSerialBus 5.15.5
$ git clone https://github.com/qt/qtserialbus.git
$ cd qtserialbus
$ git checkout git checkout v5.15.5-lts-lgpl
$ qmake
$ make

3 - Download and compile and run the latest version of SavvyCAN
$ git clone https://github.com/collin80/SavvyCAN.git
$ cd SavvyCAN
$ qmake
$ make

4 - Build SavvyCAN bundled with all plugins and libraries includes
$ macdeployqt SavvyCAN.app
$ cp -r ../qtserialbus/plugins/canbus SavvyCAN.app/Contents/PlugIns/
$ macdeployqt SavvyCAN.app
